package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-10-25
 */
@Data
@TableName("TMS_Attach")
@ApiModel(value = "AttachDO对象", description = "")
public class AttachDO implements Serializable {


    private static final long serialVersionUID = 6694021556288544863L;
    @ApiModelProperty("1 签收照片 2 附件 3 拒签照片 4 公司开票协议附件 5回单照片")
    private Integer attachType;

    @ApiModelProperty("所属订单")
    private Long attachOwnerid;

    @ApiModelProperty("照片地址")
    private String attachUrl;

    @ApiModelProperty("备注")
    private String attachRemak;

    @ApiModelProperty("创建人")
    private Integer attachCreator;

    @ApiModelProperty("所属公司")
    private Integer attachCompanyid;

    @ApiModelProperty("创建时间")
    private LocalDateTime attachCreatrtime;

    @ApiModelProperty("是否失效 0 有效 1失效")
    private Integer attachInvalid;

    @ApiModelProperty("附件名字")
    private String attachName;

    @ApiModelProperty("同步过来的标识 0或空：正常  1：是同步过来的")
    private Integer attachSyncthistag;

    @ApiModelProperty("同步的标识 0或空：正常 1 ：本方同步过的")
    private Integer attachThissynctag;

    @TableId(value = "Attach_ID", type = IdType.AUTO)
    private Integer attachId;


}
